/**
 * Created by wangshaohua on 2017/4/19.
 */
function sz_UserBean(userId, token) {
    this.userId = userId;
    this.token = token;
    this.currentActiveTime = new Date();
    this.currentActiveTime.setHours(this.currentActiveTime.getHours() + 1);
}

function sz_userActive(currentActiveTime){
    var date = new Date(currentActiveTime);
    if (date.getTime() > new Date().getTime()) {
        return true;
    } else {
        return false;
    }
}